package dialogs;

import java.util.ArrayList;
import javax.swing.table.AbstractTableModel;

public class DetailDialogTableModel extends AbstractTableModel {
	public ArrayList data = null;

	public DetailDialogTableModel() {
		data = new ArrayList();
	}

	public String getColumnName(int column) {
		return null;
	}

	public int getColumnCount() {
		return 1;
	}

	public int getRowCount() {
		return data.size();
	}

	public Object getValueAt(int row, int column) {
		return ((Info) data.get(row)).property;
	}
}
